package com.zjx.listener;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;

/**
 * @author zhaojiaxu
 * @date 2021/07/12 13:46
 **/
public class MyEventLisener implements ApplicationListener<MessageEvent> {
	@Override
	public void onApplicationEvent(MessageEvent event) {
		System.out.print(event.toString());
		System.out.print("这是一个自定义");
	}
}

